package cn.liyicun.cp.cpweb.controller;

import java.util.Date;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class TestController {
	@RequestMapping(value="/test", method = RequestMethod.GET)
	public String test(Map<String,Object> map) {
		 map.put("name", "[Angel -- 守护天使]");
		 map.put("now", new Date());
	//跳转到 templates 目录下的 uploadimg.html
	return "test";
	}
}
